package com.mew.auc.config;

import com.alibaba.nacos.api.config.ConfigType;
import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import com.alibaba.nacos.api.config.annotation.NacosProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @Date 2020/11/6 0006
 **/
@NacosConfigurationProperties(dataId = "mew-gold-config.yaml", type = ConfigType.YAML, autoRefreshed = true)
@Data
@ToString
@NoArgsConstructor
public class GoldConfig {

    @NacosProperty(value = "google.client_id")
    private String client_id;

    @NacosProperty(value = "google.client_secret")
    private String client_secret;

    @NacosProperty(value = "google.refresh_token")
    private String refresh_token;

}
